package com.ruyuan.user.server.repository.mapper;

import com.ruyuan.user.server.repository.bean.RoleDO;
import com.ruyuan.user.server.repository.bean.RoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleMapper {
    long countByExample(RoleExample example);

    int deleteByExample(RoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RoleDO record);

    int insertSelective(RoleDO record);

    List<RoleDO> selectByExampleWithBLOBs(RoleExample example);

    List<RoleDO> selectByExample(RoleExample example);

    RoleDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RoleDO record, @Param("example") RoleExample example);

    int updateByExampleWithBLOBs(@Param("record") RoleDO record, @Param("example") RoleExample example);

    int updateByExample(@Param("record") RoleDO record, @Param("example") RoleExample example);

    int updateByPrimaryKeySelective(RoleDO record);

    int updateByPrimaryKeyWithBLOBs(RoleDO record);

    int updateByPrimaryKey(RoleDO record);
}